package xuegao.study.mall.admin.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import xuegao.study.mall.common.api.CommonResult;
import xuegao.study.mall.common.model.cms.CmsPreferenceArea;

import java.util.ArrayList;
import java.util.List;

@RestController
@RequestMapping(value = "/prefrenceArea")
public class CmsPreferenceAreaController {

    @ApiOperation("获取所有商品优选")
    @GetMapping(value = "/listAll")
    public CommonResult<List<CmsPreferenceArea>> listAll() {
        return CommonResult.success(new ArrayList<>());
    }
}
